<template>
  <div class="hello">
    <h1>{{ msg }}</h1>
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  },
  async mounted () {
    const login = await this.$axios.post('/login/')
    console.log('login', login.data)
    const logout = await this.$axios.post('/logout/')
    console.log('logout', logout.data)
    const list = await this.$axios.get('/list/asdf09123sdf9')
    console.log('list', list.data)
    const post = await this.$axios.get('/post/asdafs')
    console.log('post', post.data)
    const other = await this.$axios.get('https://lvpin100.com/aa')
    console.log('other', other.data)
  }
}
</script>
